package com.training;

public class ExampleThread_6 {
	public static void main (String[] args) throws InterruptedException {
	NameRunnable nr = new NameRunnable(); // Make one Runnable
	Thread subasri = new Thread(nr);
	subasri.setName("Subasri");
	Thread sharmila = new Thread(nr);
	sharmila.setName("Sharmila");
	Thread maha = new Thread(nr);
	maha.setName("Maha");
	subasri.start();
	sharmila.start();
	maha.start();
	}
	}